import requests

from pythonProject1.basic.base import RequestBase

class Url():
    ORDER_LIST_SELECT = "/adminapi/shop/order/list"
    OREDER_LIST_PROTECTION = "/adminapi/shop/order/refund"
    BULK_LIST_DELIVERY = "/adminapi/shop/order_batch_delivery"


class Marketing(RequestBase, Url):
    def order_lise_select(self):#商城订单
        return self.get(self.order_lise_select.__name__, self.ORDER_LIST_SELECT)


    def order_list_protection(self):#退款维权
        return self.get(self.order_list_protection.__name__, self.OREDER_LIST_PROTECTION)


    def bulk_list_delivery(self):#批量发货
        return self.get(self.bulk_list_delivery.__name__, self.BULK_LIST_DELIVERY)

if __name__ == '__main__':
    a=Marketing()
    a.order_lise_select()



